package com.dongdongshop.service.user;

import com.dongdongshop.pojo.user.TbAddress;
import com.dongdongshop.pojo.vo.AddressVo;

import java.util.List;

public interface AddressService {

    List<AddressVo> getAddressList(String username);

    void insertAddress(TbAddress address);

    void deleteAddress(Integer id);

    void updateIsDefault(Integer id);

    TbAddress getById(Long addressId);
}
